package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_help_record")
@JsonInclude(JsonInclude.Include.NON_NULL)

public class HelpRecordModel {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String realName;

    private String oneHelp;

    private String twoHelp;

    private String threeHelp;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String oneHelpTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String twoHelpTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String threeHelpTime;

    private Integer userId;

    @TableField(exist = false)
    private Integer limit;
    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private Integer count;
    @TableField(exist = false)
    private String wishWorkTypeId;
    @TableField(exist = false)
    private List<HelpRecordModel> list;

    @TableField(exist = false)
    private String helpTypeText;
    @TableField(exist = false)
    private Integer type;
}
